package com.why.simpleboot.core.core.schedule.Task;

import java.lang.reflect.Method;

/**
 * @program: why-simpleboot-framework
 * @description: 延迟任务 仅仅执行一次   timeout：开始执行的时间
 * @author: @why
 * @create: 2021-05-29 16:30
 **/
public class TimeoutTask extends FunctionTask {

    private long Timeout;

    /**
     *
     * @param method
     * @param target
     * @param args
     * @param taskType
     * @param Timeout
     */
    public TimeoutTask(Method method, Object target, Object[] args, TaskType taskType, long Timeout) {
        super(method, target, args, taskType);
        this.Timeout = Timeout;
    }
}
